﻿using System;
using Autodesk.Revit.DB;
using Autodesk.Revit.UI.Selection;

namespace HYRElectric.WirePlace
{
	internal class SelectionFilterFloor : ISelectionFilter
	{
		public bool AllowElement(Element e)
		{
			return e is Floor;
		}

		public bool AllowReference(Reference reference, XYZ position)
		{
			return true;
		}
	}
}
